Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 3 - Geometric Styles / Geometric Styles Reference
Functions


Getting and Setting Patterns

QuickDraw GX allows you to specify a pattern to fill a shape when drawn. In particular, you may specify a pattern shape for any line, curve, rectangle, polygon, or path shape that has any framed shape fill or any solid fill. You must always specify pattern shapes in their primitive form.

"The Pattern Structure" on page 3-106 describes the gxPatternRecord structure, which you use when retrieving or specifying pattern information. That section also describes what types of shapes you may use as a pattern shape.

You can use the GXGetStylePattern function to retrieve the pattern information from a style object and the GXSetStylePattern function to specify pattern information for a style object.

The GXGetShapePattern and GXSetShapePattern functions provide a way to retrieve and specify pattern information for the style object associated with a particular shape.


Subtopics
GXGetStylePattern
GXSetStylePattern
GXGetShapePattern
GXSetShapePattern
GXGetShapePatternPositions

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help